/*
 * @Author: Ethan
 * @Github: https://github.com/ethanpub
 * @Date: 2019-05-22 17:29:06
 * @LastEditors: Ethan
 * @Blog: https://ethan.pub
 * @LastEditTime: 2019-08-29 17:08:37
 * @Description: 🙏BUG退散🙏
 */
import { Api } from '.';


export const getList = (params = {}) =>
  Api({ url: '/list.json', method: 'get', params })
    .then((res) => ({
      dataSource: res.result,
      totalSize: res.result.length,
      totalPage: 2
    }));



